{template header}


{template sidebar}

<!-- artile begin -->
<div class="article">
    {template title}



    <form class="form-search" action="{$this->url($c, 'search_lookStock', $this->get())}">
        <table>

            <tr><td class="td1" width="20%">商品编号：</td>
                <td>

                    <div class="input-append">
                        <input type="text" name="key" class="span2 search-query" placeholder=""请输入商品编号 />
                        <button type="button" class="btn search">搜索</button>
                    </div>
                </td >
            </tr>
        </table>

    </form>

    <table cellpadding="1" cellspacing="1" width="100%" border="0">

        <!--{if $result}-->
        <!--{if $result['templateId'] == 1}-->
        <tr>
            <th width="10%">肩宽</th>
            <th width="10%">领宽</th>
            <th width="10%">衣长</th>
            <th width="10%">袖长</th>
            <th width="10%">胸围</th>
            <th width="10%">腰围</th>


        </tr>
        <tr>
            <td>{$result['size1']}</td>
            <td>{$result['size2']}</td>
            <td>{$result['size3']}</td>
            <td>{$result['size4']}</td>
            <td>{$result['size5']}</td>
            <td>{$result['size6']}</td>

        </tr>
        <!--{/if}-->
        <!--{if $result['templateId'] == 2}-->
        <tr>
            <th width="10%">肩宽</th>
            <th width="10%">胸围</th>

            <th width="10%">衣长</th>
            <th width="10%">袖长</th>
            <th width="10%">臀围</th>
            <th width="10%">腰围</th>


        </tr>
        <tr>
            <td>{$result['size1']}</td>
            <td>{$result['size2']}</td>
            <td>{$result['size3']}</td>
            <td>{$result['size4']}</td>
            <td>{$result['size5']}</td>
            <td>{$result['size6']}</td>

        </tr>
        <!--{/if}-->
        <!--{if $result['templateId'] == 3}-->
        <tr>
            <th width="10%">腰围</th>
            <th width="10%">臀围</th>
            <th width="10%">腿围</th>
            <th width="10%">脚围</th>
            <th width="10%">裤长</th>
            <th width="10%">前档</th>


        </tr>
        <tr>
            <td>{$result['size1']}</td>
            <td>{$result['size2']}</td>
            <td>{$result['size3']}</td>
            <td>{$result['size4']}</td>
            <td>{$result['size5']}</td>
            <td>{$result['size6']}</td>

        </tr>
        <!--{/if}-->
        <!--{if $result['templateId'] == 4}-->
        <tr>
            <th width="10%">肩宽</th>
            <th width="10%">胸围</th>
            <th width="10%">衣长</th>
            <th width="10%">袖长</th>
            <th width="10%">腰围</th>



        </tr>
        <tr>
            <td>{$result['size1']}</td>
            <td>{$result['size2']}</td>
            <td>{$result['size3']}</td>
            <td>{$result['size4']}</td>
            <td>{$result['size5']}</td>


        </tr>
        <!--{/if}-->
        <!--{if $result['templateId'] == 5}-->
        <tr>
            <th width="10%">腰围</th>
            <th width="10%">臀围</th>
            <th width="10%">袖长</th>

        </tr>
        <tr>
            <td>{$result['size1']}</td>
            <td>{$result['size2']}</td>
            <td>{$result['size3']}</td>


        </tr>
        <!--{/if}-->
        <!--{if $result['templateId'] == 6}-->
        <tr>
            <th width="10%">腰围</th>
            <th width="10%">臀围</th>
            <th width="10%">腿围</th>

            <th width="10%">裤长</th>



        </tr>
        <tr>
            <td>{$result['size1']}</td>
            <td>{$result['size2']}</td>
            <td>{$result['size3']}</td>
            <td>{$result['size4']}</td>


        </tr>
        <!--{/if}-->
        <!--{else}-->
        <tr>
            <td colspan="5">没有数据记录！</td>
        </tr>
        <!--{/if}-->



    </table>





</div>
<!-- artile end -->
{template footer}